<?php $this->load->view('home/layout/header');?>
<header class="my-head flex">
    <div class="my-return">
        <a href="javascript:history.go(-1);">
            <i class="iconfont icon-zuojiantou"></i>
        </a>
    </div>
    <div class="my-name">
        消费保障
    </div>
</header>
<div class="consumerProtection widthMax">
    <div class="open">
        <div class="separate">
            <i></i><span></span>
        </div>
        <img class="tig-left" src="/skins/home/images/bonus.png" />
        <img class="tig-right" src="/skins/home/images/applyLottery02.png" />
        <div class="consume">
            <?php foreach ($guarantee->result() as $key => $item) : ?>
            <li>
                <div class="separate">
                    <i></i><span></span>
                </div>
                <div class="content flex">
                    <div class="title-icon"><?php echo $key+1 ?></div>
                    <div class="txt flex-1"><?php echo $item->guarantee; ?></div>
                </div>
            </li>
            <?php endforeach; ?>
        </div>
    </div>
</div>
<div class="user-foot">
    <ul class="flex">
        <li>
            <a href="<?php echo site_url('tourism/tourismprovider/grid') ?>">
                <i class="iconfont icon-shouye"></i>
                <p>首页</p>
            </a>
        </li>
        <li class="active">
            <a href="<?php echo site_url('home/discountMall/protection'); ?>">
                <i class="iconfont icon-tubiao-"></i>
                <p>消费保障</p>
            </a>
        </li>
        <li>
            <a href="<?php echo site_url('tourism/tourismcart'); ?>">
                <i class="iconfont icon-gouwuche"></i>
                <p>购物车</p>
            </a>
        </li>
        <li>
            <a href="<?php echo site_url('home/ucenter/index');?>">
                <i class="iconfont icon-wode"></i>
                <p>我的</p>
            </a>
        </li>
    </ul>
</div>
<?php $this->load->view('home/layout/header');?>
